				<div class="box span-3 last">
                    <?php if($this->session->flashdata("errormsg"))
                            echo $this->session->flashdata("errormsg");
                    ?>
					<form method="post" action="<?php echo site_url("home/login")?>">
						<legend>username</legend><br/>
						<input type="text" size="10" name="username"/><br/>
						<legend>password</legend><br/>
						<input type="password" size="10" name="password"/><br/>
                        <input type="submit" value="login"/>
						<a href="<?php echo site_url("home/register")?>">register</a>
					</form>
				</div>